package com.ruoyi.equ.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 验收入库对象 equ_stockin
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class EquStockin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库单id */
    @Excel(name = "入库单id")
    private Long stockId;

    /** 资产设备id */
    @Excel(name = "资产设备id")
    private Long assetId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNumber;

    /** 审批信息 */
    @Excel(name = "审批信息")
    private String approvalInfo;

    /** 到货信息（格式：运输单位+运输单号+实际到货日期，如“XX物流+YS2025001+2025-01-10”） */
    @Excel(name = "到货信息", readConverterExp = "格=式：运输单位+运输单号+实际到货日期，如“XX物流+YS2025001+2025-01-10”")
    private String arrivalInfo;

    /** 包装核查结果 */
    @Excel(name = "包装核查结果")
    private String packageCheck;

    /** 数量配件验收 */
    @Excel(name = "数量配件验收")
    private String quantityCheck;

    /** 技术资料验收 */
    @Excel(name = "技术资料验收")
    private String docCheck;

    /** 质量性能验收 */
    @Excel(name = "质量性能验收")
    private String qualityCheck;

    /** 验收最终状态 */
    @Excel(name = "验收最终状态")
    private String acceptanceStatus;

    /** 审批记录 */
    @Excel(name = "审批记录")
    private String approvalRecord;

    /** 验收完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验收完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 附件链接 */
    @Excel(name = "附件链接")
    private String fileUrls;

    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }

    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }

    public void setAssetNumber(String assetNumber) 
    {
        this.assetNumber = assetNumber;
    }

    public String getAssetNumber() 
    {
        return assetNumber;
    }

    public void setApprovalInfo(String approvalInfo) 
    {
        this.approvalInfo = approvalInfo;
    }

    public String getApprovalInfo() 
    {
        return approvalInfo;
    }

    public void setArrivalInfo(String arrivalInfo) 
    {
        this.arrivalInfo = arrivalInfo;
    }

    public String getArrivalInfo() 
    {
        return arrivalInfo;
    }

    public void setPackageCheck(String packageCheck) 
    {
        this.packageCheck = packageCheck;
    }

    public String getPackageCheck() 
    {
        return packageCheck;
    }

    public void setQuantityCheck(String quantityCheck) 
    {
        this.quantityCheck = quantityCheck;
    }

    public String getQuantityCheck() 
    {
        return quantityCheck;
    }

    public void setDocCheck(String docCheck) 
    {
        this.docCheck = docCheck;
    }

    public String getDocCheck() 
    {
        return docCheck;
    }

    public void setQualityCheck(String qualityCheck) 
    {
        this.qualityCheck = qualityCheck;
    }

    public String getQualityCheck() 
    {
        return qualityCheck;
    }

    public void setAcceptanceStatus(String acceptanceStatus) 
    {
        this.acceptanceStatus = acceptanceStatus;
    }

    public String getAcceptanceStatus() 
    {
        return acceptanceStatus;
    }

    public void setApprovalRecord(String approvalRecord) 
    {
        this.approvalRecord = approvalRecord;
    }

    public String getApprovalRecord() 
    {
        return approvalRecord;
    }

    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }

    public void setFileUrls(String fileUrls) 
    {
        this.fileUrls = fileUrls;
    }

    public String getFileUrls() 
    {
        return fileUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("assetId", getAssetId())
            .append("assetNumber", getAssetNumber())
            .append("approvalInfo", getApprovalInfo())
            .append("arrivalInfo", getArrivalInfo())
            .append("packageCheck", getPackageCheck())
            .append("quantityCheck", getQuantityCheck())
            .append("docCheck", getDocCheck())
            .append("qualityCheck", getQualityCheck())
            .append("acceptanceStatus", getAcceptanceStatus())
            .append("approvalRecord", getApprovalRecord())
            .append("finishTime", getFinishTime())
            .append("fileUrls", getFileUrls())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
